package org.ch03.test05;

import java.util.Arrays;

/**
 * @author ZQX
 * @date 2025-03-26
 */
public class MainTest {
    public static void main(String[] args) {
        // GenericTest<Integer> gt = new GenericTest<>();
        // Integer[] arr = new Integer[3] ;
        // gt.setArr(arr);

        GenericTest<Integer> gt =
                new GenericTest<>(Integer.class, 3);

        Integer[] arr = gt.getArr();
        arr[0] = 11 ;
        arr[1] = 22 ;
        arr[2] = 33 ;

        System.out.println(Arrays.toString(arr));


    }
}
